package com.beone.smart.smartBeauty.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created by bruce on 20/2/25 -- 16:20
 * 设备信息
 */
@Data
@TableName(value = "device_info")
@ApiModel(value = "设备信息")
public class DeviceInfoDO {
    //记录的主键id
    @ApiModelProperty(value = "记录的主键id")
    private String id;
    //用户id
    private String userId;
    private String userName;
    //正品码
    private String dev_code;
    //设备名称
    private String dev_name;
    //设备的mac地址
    private String dev_mac;
    //设备的序列号
    private String dev_serial_number;
    //该设备加入时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime joinDate;
}
